package com.authService.service;


import com.authService.entity.SysMenuPermissionEntity;
import com.authService.pojo.req.MenuPermissionSaveReqDTO;
import com.authService.pojo.res.MenuPermissionRespDTO;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 系统菜单权限关联表 服务类
 * </p>
 *
 * @author xiaopeng
 * @since 2024-10-20
 */
public interface ISysMenuPermissionService extends IService<SysMenuPermissionEntity> {

    /**
     * 查询菜单底下的资源权限
     * @param menuId
     * @return
     */
    List<MenuPermissionRespDTO> selectMenuPermissionList(Long menuId);

    /**
     * 保存菜单资源权限
     * @param reqDTO
     * @return
     */
    void saveMenuPermission(MenuPermissionSaveReqDTO reqDTO);
}
